<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
//解决跨域问题
header('Access-Control-Allow-Origin:*');

//把同目录下的admin文件夹下的web.php包含进来
include __DIR__.'/admin/web.php';
//把同目录下的component文件夹下的web.php包含进来
include __DIR__.'/component/web.php';


